<template>
    <div>
        <span @click="ck1('shop')">商品管理</span>|<span @click="ck1('user')">用户管理</span>
    </div>
</template>

<script setup>
import { useRouter } from 'vue-router';
let router=useRouter();
function ck1(a){
    router.push({
        path:`${a}`
    })
}
</script>

<style lang="scss" scoped></style>